@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #f7f8fc;
    font-family: 'Open Sans', sans-serif;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
/*
display: flex;
*/
}

.logo {
    background-color: #334CAD;
    overflow: hidden;
    height: 63px;
    display: block;
    margin:0;
    padding: 0;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
  justify-content: center;
  align-items: center;
}

.navbar {
    background-color: #334CAD;
    overflow: hidden;
    height: 63px;
    display: block;
}

.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 17px;
}

.navbar ul {
    margin:8px 0 0 0;
    list-style: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: #000;
}

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    opacity: 0.9;
    overflow-x:hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.side-nav a {
    padding: 10px 10px 10px 30px;
    text-decoration: none;
    font-size: 22px;
    color: #ccc;
    display: block;
    transition: 0.3s;
}

.side-nav a:hover {
    color: #fff;
}

.side-nav .btn-close {
    position:absolute;
    top:0;
    right:22px;
    font-size:36px;
    margin-left:50px;
}

#main {
    transition:margin-left 0.5s;
    padding: 20px;
    overflow:hidden;
    width:100%;
    display: flex;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    width: 940px;
    margin: 30px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 300px;
}

.card-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10px;
    min-height: 250px;
}

.tag {
    background-color: #777;
    border-radius: 50px;
    font-size: 12px;
    margin: 0 0 10px 0;
    color: #fff;
    padding: 2px 10px;
    text-transform: uppercase;
}

.tag-green {
    background-color: #17A400;
}
.tag-blue {
    background-color: #1170FF;
}
.tag-purple {
    background-color: #3d1d94;
}
.tag-pink {
    background-color: #c62bcb;
}
.tag-gold {
    background-color: #DE9700;
}

.card-body h4 {
    margin: 0 0 5px 0;
}

.card-body p {
    font-size: 13px;
    margin: 0 0 20px;
}

.card-body div {
    font-size: 11px;
    margin: 0 0 20px;
}

.user {
    display: flex;
    margin-top: auto;
}

.user-info h5 {
    margin: 10px 0 0 0;
    font-size: 12px;
}

.user-info small {
    color: #999;
    font-size: 10px;
}

.chart-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 1200px;
    margin: 20px;
    font-size: 14px;
}

.chart-card-header {
    padding: 0 20px 10px 20px;
    min-height: 65px;
}

.chart-card-header h4 {
    font-size: 24px;
    margin: 10px 0 10px 0;
}

.chart-card-choices {
    display: block;
    align-items: start;
    padding: 0 20px;
    min-height: 100px;
    min-width: 100px;
}

.chart-card-choices span {
    display: inline-block;
    background-color: rgb(248 250 252);
    border-color: rgb(194 200 208);
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    width: 50px;
    align-content: center;
    font-size: 12px;
    margin: 5px 5px 5px 5px;
    color: rgb(100 116 139);
    padding: 2px 10px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.chart-card-choices span:hover {
    background-color: rgb(216 218 220);
    color: rgb(64 128 240);
    font-weight: bold;
    border-color: rgb(96 96 96);
    border-width: 2px;
}

.chart-card-choices .card-team-title {
    padding: 0 0 10px 0;
    font-size: 16px;
}

.chart-card-choices .card-team-title table tr td {
    padding: 10px 10px 10px 10px;
    background-color: #eee;
}

.chart-card-choices .card-team-title table tbody tr td:nth-child(1) {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-left: 5px solid #2E46A9;
}

.chart-card-choices .card-team-title table tbody tr:nth-child(1) td {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}
.chart-card-choices .card-team-title table tbody tr:nth-child(2) td {
    font-size: 24px;
    font-style: italic;
    font-weight: bold;
}

.chart-card-choices .card-team-title table tbody tr:nth-child(3) td {
    font-size: 24px;
    font-style: italic;
    font-weight: bold;
}

.chart-card-choices .card-team-title table tbody tr td:nth-child(2) {
    width: 300px;
}

.chart-card-choices .card-team-title table tbody tr td:nth-child(3) {
    width: 300px;
    text-align: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}


.chart-card-chart {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0 0 0 20px;
    min-height: 300px;
    width: 1200px;
    position: relative;
}

.chart-card-chart .overlay {
    width: 181px;
    height: 27px;
    position: absolute;
    top: 60px;  /* chartArea top  */
    left: 180px; /* chartArea left */
    z-index: 2000;
}

.chart-card-notes {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0 20px 20px 20px;
    min-height: 150px;
}

/*
@media (max-width: 1028px) {
    .container {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
}
*/

/* 
** To show what's possible
** dont modify "tooltip.textStyle" param in Options - it renders this useless
.google-visualization-tooltip { 

    width: 150px !important;
    border: none !important;
    border-radius: 21px !important;
    background-color: rgb(30, 50, 230)!important;
    position: absolute !important;
    box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75) !important;
    background: -moz-linear-gradient(30deg, rgb(30, 50, 230) 30%, rgb(90, 140, 250) 70%) !important;
    background: -webkit-linear-gradient(30deg, rgb(30, 50, 230) 30%, rgb(90, 140, 250) 70%) !important;
    background: -o-linear-gradient(30deg, rgb(30, 50, 230) 30%, rgb(90, 140, 250) 70%) !important;
    background: -ms-linear-gradient(30deg, rgb(30, 50, 230) 30%, rgb(90, 140, 250) 70%) !important;
    background: linear-gradient(120deg, rgb(30, 50, 230) 30%, rgb(90, 140, 250) 70%) !important;
    font-size:  10px !important;
}
*/
.google-visualization-tooltip { 
    width: 125px;
    border: 1;
    box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75) !important;
}



#header {
  text-align: left;
  font-size: 16px;
}

#main {
  text-align: center;
  font-size: 14px;
  background-image: url('https://turnstilestats.com/img/hockey_sticks_x.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

#main-tbl {
  height: 500px;
  padding: 2px;
  margin: 2px;
}

#main-scores {
  width: 230px;
  padding: 10px;
  border: 5px solid gray;
  margin: 0px;
  vertical-align: top;
  text-align: left;
  font-size: 12px;
  font-family: Arial;
  background-color: lightblue;
}

#main-charts {
  width: 100%;
  padding: 5px;
  border: 5px solid gray;
  margin: 0px;
  vertical-align: top;
  text-align: left;
  background-color: lightblue;
}

#main-charts-tbl {
  width: 100%;
  height: 500px;
  padding: 0px;
  margin: 0px;
  text-align: center;
  font-size: 14px;
}

#main-tl {
  width: 45%;
  height: 300px;
  padding: 10px;
  border: 5px solid gray;
  margin: 0px;
  vertical-align: top;
  text-align: left;
  font-size: 14px;
  font-family: Arial;
}

#main-tr {
  width: 45%;
  height: 300px;
  padding: 10px;
  border: 5px solid gray;
  margin: 0;
  text-align: left;
  font-size: 14px;
  font-family: Arial;
}

#main-bl {
  width: 50%;
  height: 300px;
  padding: 10px;
  border: 5px solid gray;
  margin: 0;
  text-align: left;
  font-size: 14px;
}

#main-br {
  width: 50%;
  height: 300px;
  padding: 10px;
  border: 5px solid gray;
  margin: 0;
  text-align: left;
  font-size: 14px;
}

#footer {
  text-align: left;
  font-size: 14px;
  padding: 10px;
}
